package com.zbkj.common.request.monitor;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassName: MonitorTrafficSetMeal
 * @Description: 监控设备流量套餐
 * @Author: fanbing
 * @Date: 2024/10/27 13:54
 * @Version: V1.0
 **/
@Data
public class ZfbMonitorTrafficSetMealReq implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("名称")
    @NotNull(message = "设备名称不能为空")
    private String name;

    @ApiModelProperty("价格")
    @NotNull(message = "价格不能为空")
    private BigDecimal price;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("属性：0=免充值来源 村委邀请  ；  2=要充值来源 自己申请")
    @NotNull(message = "属性不能为空")
    private Integer attribute;


    @ApiModelProperty("类型 1=月 2=季 3=年")
    private Integer type;
}
